package com.android.binderserverclient0.mvi2.state

import com.android.binderserverclient0.mvi2.databean.WallPaper

//状态层
sealed class MainState {
    //空闲
    data object Idle: MainState()

    //加载
    data object Loading: MainState()

    //获取壁纸
    data class GetWallPapers(val wallPaper: WallPaper) : MainState()

    //错误
    data class Error(val error: String) : MainState()
}